import fetch from '../request.js'

// 根据字典类型查询字典数据信息
export function systemDict(params) {
	return fetch.request("/system/dict-data/type", "GET",params, false, true, true)
}

// 广告轮播
export function advertise(params) {
	return fetch.request("/pekingFish/advertise/list", "GET",params, false, true, true)
}
// 广告轮播
export function advertiseDetail(params) {
	return fetch.request("/pekingFish/advertise/get", "GET",params, false, true, false)
}

export function uploadFile(params) {
	return fetch.request("/pekingFish/appConfig/upload-file", "POST",params, false, true, true)
}
